package com.fastwire.carriere.rad.entity;


import com.fastwire.carriere.alarm.entity.BasicAlarm;

/*
 * Creted on 20120225
 * @author: Lei Jun
 */
public class RadAlarm extends BasicAlarm
{
    //private long oid;

    //private int version;

    //private int port;

    //private String alarmCode; //alarmID

    //private String description;
    
    //private String severity;

    private String state;

    private String sysUpTime; // system up time

    private String ipAddr; // FK
    //private Rad containingRad;
    
    //private Date updateTime;

    public RadAlarm(String ip)
    {
        super();
        //containingRad.setIpAddr(ip);
        ipAddr = ip;
        this.manager = "RAD";
    }
    
    public RadAlarm()
    {
        super();
        this.manager = "RAD";
    }

    /**
     * @return the sysUpTime
     */
    public String getSysUpTime()
    {
        return sysUpTime;
    }

    /**
     * @param sysUpTime the sysUpTime to set
     */
    public void setSysUpTime(String sysUpTime)
    {
        this.sysUpTime = sysUpTime;
    }

    /**
     * @return the ipAddr
     */
    public String getIpAddr()
    {
        return ipAddr;
    }

    /**
     * @param ipAddr the ipAddr to set
     */
    public void setIpAddr(String ipAddr)
    {
        this.ipAddr = ipAddr;
    }

    /**
     * @return the state
     */
    public String getState()
    {
        return state;
    }

    /**
     * @param state the state to set
     */
    public void setState(String state)
    {
        this.state = state;
    }

}
